#include "dial.h"
#include "ui_dial.h"

#include <QDebug>

Dial::Dial(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Dial)
{
    ui->setupUi(this);
}

Dial::~Dial()
{
    delete ui;
}

void Dial::on_dial_valueChanged(int value)
{
    qDebug() << value;
    this->setWindowOpacity(double(value) / 100);
}
